package com.toprs.base.query

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.v3.oas.annotations.media.Schema
import java.util.Date

data class LogQuery(
    val username: String? = null,
    @Schema(description = "日志类型")
    val logType: String,
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    val start: Date? = null,
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    val end: Date? = null,
    override var pageNo: Int,
    override var pageSize: Int
) :
    BaseQuery(pageNo, pageSize)